package OOday01;

public class ConsTest {
    public static void main(String[] args) {
        Car bm=new Car();
        bm.brand="宝马";
        bm.color="白";
        bm.price=500000;
        bm.capacity=6;


        Car ad=new Car("宝马","白",500000,6);
        bm.start();
        Car bc=new Car("奔驰","黑",600000,6);
        bc.start();
    }
}
